﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TestReadonly
{
    public class TestConst
    {
        public const int constNum = 0;
        public readonly int readonlyNum;
        public static readonly int staticReadonlynum;
        public readonly List<int> listNums = new List<int>();

        public TestConst()
        {
            //constNum = 1;
            readonlyNum = 1;
            //staticReadonlynum = 2;
            listNums.Add(1);


        }


        static TestConst()
        {
            staticReadonlynum = 1;
        }


    }
}
